﻿var bodyController = {
    displayBodyScroll: function (state) {
        if (state == true) {
            $("body").css({
                "overflow": "auto"
            });
        }
        else {
            $("body").css({
                "overflow": "hidden"
            });
        }
    },
    stopRequests: function () {
        if (window.stop !== undefined) {
            window.stop();
        }
        else if (document.execCommand !== undefined) {
            document.execCommand("Stop", false);
        }
    }
};